package com.itdaan.portal.business.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.itdaan.portal.business.domain.Faq;
import com.itdaan.portal.business.mapper.FaqMapper;
import com.itdaan.portal.business.service.FaqService;
import com.itdaan.portal.common.exception.ServiceException;

@Service(value = "faqService")
public class FaqServiceImpl implements FaqService {

	@Resource(name = "faqMapper")
	private FaqMapper faqMapper;
	
	@Override
	public Faq findPostOne(Integer id) throws ServiceException {
		return faqMapper.selectByPrimaryKey(id);
	}

	
	
}
